﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Houses.aspx.cs" Inherits="Houses" %>
<%@ Register Src="~/App_Widget/Navbar.ascx" TagName="navbar" TagPrefix="UITag" %>
<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title></title>
</head>
<body>
    <UITag:navbar runat="server" ID="navbar" />
    <form id="form1" runat="server">
        <div>
            <div class="container">
                <div class="page-header">
                    <h1>房屋信息管理 <small>房屋信息查看</small></h1>
                </div>
                <div id="house-info">
                    <table class="table">
                        <thead>
                            <tr>
                                
                                <th>#</th>
                                <th>地址</th>
                                <th>房间数量</th>
                                <th>价格</th>
                                <th>发布时间</th>
                                <th>状态</th>
                            </tr>
                        </thead>
                        <asp:Repeater ID="rptHouseList" runat="server">
                            <HeaderTemplate>
                            </HeaderTemplate>
                            <ItemTemplate>
                                <tbody>
                                    <tr>
                                        
                                        <td><%#Eval("Id") %></td>
                                        <td><%#Eval("Address") %></td>
                                        <td><%#Eval("RoomNumber") %></td>
                                        <td><%#Eval("Price") %></td>
                                        <td><%#Eval("PublishTime") %></td>
                                        <td><%#(Model.StatusCodeName)Eval("StatusCodeId") %></td>
                                    </tr>
                                </tbody>
                            </ItemTemplate>
                        </asp:Repeater>
                    </table>
                </div>
            </div>
        </div>
    </form>
</body>
</html>
